import {
    ref,
    watch
  } from 'vue'
import tools from '../utils/tools';
export function useMenu(menu) {
    const menuIndex = ref(menu);
   
      watch(menuIndex, (newVal) => {
        console.log(9999,newVal)
      }, {
        immediate: true
      })
      return {
        menuIndex,
       
      }
}